package com.example.springbootdemo.strategy.actual;

import org.springframework.stereotype.Component;

/**
 * @author cici
 */
//@Component
public class Method1 extends AbstractMethod {

    @Override
    public Integer getType() {
        return Constant.CONSTANT_ONE;
    }

    @Override
    public void method() {
        System.out.println("method1");
        commonLogic();
    }
}
